package chapter4.No4_1_使用reentrantLock类.demo17;

/**
 * Created by Administrator on 2016/11/22.
 */
public class ThreadSignal extends Thread {
    ServiceClass sc;

    public ThreadSignal(ServiceClass sc) {
        this.sc = sc;
    }

    @Override
    public void run() {
        sc.signalMethod();
    }
}
